const INITIAL_STATE = {
	_id: '',
	subscriber: [],
	name: '',
	article: [],
	description: '',
	author: '',
	last_modified_time: '',
	create_time: '',
	cover: '',
}

export default function post(state = INITIAL_STATE, action) {
	switch (action.type) {
		case 'UPDATE_SPACE': {
			return { ...state, ...action.payload }
		}
		default:
			return state
	}
}
